﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Users.aspx.cs" Inherits="Deals" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
        <ContentTemplate>
            <h3>
                <asp:LinkButton ID="HyperLink1" 
                                runat="server"
                                Text="Пользователи" 
                                PostBackUrl="~/Users.aspx?man=0" 
                                OnClick="User_Click" />
                |
                <asp:LinkButton ID="HyperLink2" 
                                runat="server" 
                                Text="Битмейкеры" 
                                PostBackUrl="~/Users.aspx?man=1" 
                                OnClick="Bm_Click" />
                |
                <asp:LinkButton ID="LinkButton1" 
                                runat="server" 
                                Text="Администраторы" 
                                PostBackUrl="~/Users.aspx?man=2" 
                                OnClick="Admin_Click" />
            </h3>
            <br />
            <br />
            <br />
            <asp:MultiView ID="RegProfileMultiView" runat="server" ActiveViewIndex="0">
                <asp:View ID="ExtInfoView" runat="server">
                    <asp:Label ID="aboutNullMess" runat="server" Text=""></asp:Label>
                    <asp:ListView ID="listBM" runat="server">
                        <ItemTemplate>
                            <div style="border-bottom: 2px #CE0000 solid ;">
                                => <a href='PPage.aspx?login=<%#Eval("Login") %>' style="color: #4B4740">
                                    <%#Eval("Login")%></a>
                                <br />
                                <br />
                            </div>
                        </ItemTemplate>
                        <ItemSeparatorTemplate>
                            <br />
                        </ItemSeparatorTemplate>
                    </asp:ListView>
                    <br />
                    <asp:DataPager ID="MessGbookDataPager" PagedControlID="listBM" runat="server">
                        <Fields>
                            <asp:NextPreviousPagerField ShowLastPageButton="false" PreviousPageText="Назад" ShowNextPageButton="False" />
                            <asp:NumericPagerField />
                            <asp:NextPreviousPagerField NextPageText="Далее" ShowPreviousPageButton="False" />
                        </Fields>
                    </asp:DataPager>
                    <asp:Label ID="StatusMessageLabel" runat="server" Text="" />
                </asp:View>
                <asp:View ID="ContactInfoView" runat="server">
                <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
                    <asp:ListView ID="ListView1" runat="server">
                        <ItemTemplate>
                            <div style="border-bottom: 1px #CCC solid;">
                                => <a href='PPage.aspx?login=<%#Eval("Login") %>'>
                                    <%#Eval("Login")%></a>
                                <br />
                                <br />
                            </div>
                        </ItemTemplate>
                        <ItemSeparatorTemplate>
                            <br />
                        </ItemSeparatorTemplate>
                    </asp:ListView>
                    <br />
                    <asp:DataPager ID="DataPager1" PagedControlID="ListView1" runat="server">
                        <Fields>
                            <asp:NextPreviousPagerField ShowLastPageButton="false" PreviousPageText="Назад" ShowNextPageButton="False" />
                            <asp:NumericPagerField />
                            <asp:NextPreviousPagerField NextPageText="Далее" ShowPreviousPageButton="False" />
                        </Fields>
                    </asp:DataPager>
                    <asp:Label ID="Label2" runat="server" Text="" />
                </asp:View>
                <asp:View ID="View1" runat="server">

                <asp:Label ID="Label3" runat="server" Text=""></asp:Label>
                    <asp:ListView ID="ListView2" runat="server">
                        <ItemTemplate>
                            <div style="border-bottom: 1px #CCC solid;">
                                => <a href='PPage.aspx?login=<%#Eval("Login") %>'>
                                    <%#Eval("Login")%></a>
                                <br />
                                <br />
                            </div>
                        </ItemTemplate>
                        <ItemSeparatorTemplate>
                            <br />
                        </ItemSeparatorTemplate>
                    </asp:ListView>
                    <br />
                    <asp:DataPager ID="DataPager2" PagedControlID="ListView2" runat="server">
                        <Fields>
                            <asp:NextPreviousPagerField ShowLastPageButton="false" PreviousPageText="Назад" ShowNextPageButton="False" />
                            <asp:NumericPagerField />
                            <asp:NextPreviousPagerField NextPageText="Далее" ShowPreviousPageButton="False" />
                        </Fields>
                    </asp:DataPager>
                    <asp:Label ID="Label4" runat="server" Text="" />
                </asp:View>
            </asp:MultiView>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
